package cn.bone.elasticsearch.bean;

import io.searchbox.annotations.JestId;

import java.util.Date;

/**
 * Created by MD-01 on 2017/3/21.
 */
public class News {
    @JestId
    private Integer newsId;
    private String title;
    private String content;
    private Date publishTime;
    private String type;

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
